import Package.Example.Text1.Text1;
import Package.ProcessesAndThreads.Processes.Base;
import Package.ProcessesAndThreads.Threads.HowToImplement.InheritTheThreadClass.InheritTheThreadClass;
import Package.ProcessesAndThreads.Threads.ImplementTheMultithreaded_RunnableInterface.ImplementTheMultithreaded_RunnableInterface;
import Package.ProcessesAndThreads.Threads.SchedulingOfThreads.SchedulingOfThreads;
import Package.ProcessesAndThreads.Threads.SetsAndGetsTheNameOfTheThread.SetsAndGetsTheNameOfTheThread;
import Package.ProcessesAndThreads.Threads.ThePriorityOfTheThread.ThePriorityOfTheThread;

public class Main {
    public static void main(String[] args) {
        Base.Base();
        InheritTheThreadClass.InheritTheThreadClass();
        SetsAndGetsTheNameOfTheThread.SetsAndGetsTheNameOfTheThread();
//        获取main方法的线程名称
        System.out.println(Thread.currentThread().getName());
        SchedulingOfThreads.SchedulingOfThreads();
        ThePriorityOfTheThread.ThePriorityOfTheThread();
        ImplementTheMultithreaded_RunnableInterface.ImplementTheMultithreaded_RunnableInterface();
//        Text1.Text1();
    }
}